package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.user.dtos.WmMaterialDto;
import com.heima.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

/**
* @author 郭文杰
* @description 针对表【wm_material(自媒体图文素材信息表)】的数据库操作Service
* @createDate 2023-12-04 10:08:42
*/
public interface WmMaterialService extends IService<WmMaterial> {

    void addMaterial(MultipartFile multipartFile);

    Page<WmMaterial> materialList(WmMaterialDto wmMaterialDto);

    /**
     * 图片删除
     * @param id 图片id
     */
    void deletePicture(Integer id);
}
